﻿#region copyright.anytao.com
// Copyright   : 2008, Anytao.com
// Author      : Anytao，http://www.anytao.com
// FileName    : Anytao.ISpace.DAL
// Release     : 2008/06/08 1.0
// Description : Interface for talk
#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Anytao.ISpace.Entity;

namespace Anytao.ISpace.DAL
{
    public interface ITalk
    {
        IList<Talk> GetTalks();

        IList<Talk> GetTalksByTime();

        IList<Talk> GetTalksByUserID(int userID);

        IList<Talk> GetTalksBySearch(string[] keywords);

        Talk GetTalk(int talkID);

        void Insert(Talk talk);

        void Delete(int talkID);

        void DeleteByUserID(int userID);

        void Update(Talk talk);
    }
}
